namespace Aceso.Server.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class UT_SYS_ORGANIZATION
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public decimal ORGID { get; set; }

        public Guid? ORGGUID { get; set; }

        [StringLength(50)]
        public string ORGNAME { get; set; }

        public decimal? ORGTYPE { get; set; }

        [StringLength(50)]
        public string ORGNUMBER { get; set; }

        public decimal? ORGPARENTID { get; set; }

        [StringLength(50)]
        public string ORGEMAIL { get; set; }

        [StringLength(50)]
        public string ORGPHONE { get; set; }

        [StringLength(200)]
        public string ORGADDRESS { get; set; }

        [StringLength(50)]
        public string ORGLEGAL { get; set; }

        [StringLength(50)]
        public string ORGFAX { get; set; }

        [StringLength(50)]
        public string CHARGEPERSON { get; set; }

        [StringLength(50)]
        public string ORGLINKMAN { get; set; }

        [StringLength(50)]
        public string LINKPHONE { get; set; }

        [StringLength(50)]
        public string LINKMOBILE { get; set; }

        [StringLength(50)]
        public string LINKEMAIL { get; set; }

        public decimal? SORTINDEX { get; set; }

        public string REMARK { get; set; }

        public DateTime? ADDDATE { get; set; }

        public DateTime? UPDATEDATE { get; set; }

        [StringLength(1)]
        public string ISDELETED { get; set; }

        public decimal? ORGLEVEL { get; set; }
    }
}
